<?php
/**
 * Created by PhpStorm.
 * User: sunshubo
 * Date: 2017/9/26
 * Time: 14:43
 */

function ver_token($token, $expire)
{
    $range = time() - $expire;
    return $range > 1800 ? false : true;
}